//
//  ICMProxyOrderInfoView.h
//  ICrEAM
//
//  Created by ysw on 2016/11/22.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ICMProxyBasicInfoModel.h"
#import "ICMTitleTextFeildView.h"
#import "ICMDatePickerView.h"
#import "ICMTitleTextView.h"

@class ICMProxyBasicInfoModel;
@protocol ICMProxyOrderInfoViewDelegate <NSObject>

- (void)clickRepairTypeBtn;

@end

@interface ICMProxyOrderInfoView : UIView

@property (nonatomic, strong) ICMTitleTextFeildView *getCarTimeView;//接车时间
@property (nonatomic, strong) ICMTitleTextFeildView *startOrderTimeView;//开单时间
@property (nonatomic, strong) ICMTitleTextFeildView *predictFinishTimeView;//预计交车时间
@property (nonatomic, strong) ICMTitleTextFeildView *getCarOrderNumView;//接车单号
@property (nonatomic, strong) ICMTitleTextFeildView *serviceAdviserView;//服务顾问
@property (nonatomic, strong) ICMTitleTextFeildView *oldItemHandleView;//旧件处理
@property (nonatomic, strong) ICMTitleTextFeildView *proofTypeView;//凭证类型
@property (nonatomic, strong) ICMTitleTextFeildView *checkCodeView;//首保校验码
@property (nonatomic, strong) ICMTitleTextFeildView *workshopIdentifierView;//车间标识
@property (nonatomic, strong) ICMTitleTextFeildView *honestOperationsView;//诚信经营
@property (nonatomic, strong) ICMTitleTextView *repairTypeView;//维修类型
@property (nonatomic, strong) ICMTitleTextView *breakdownDescriptionView;//用户故障描述
@property (nonatomic, strong) ICMTitleTextView *prejudgeView;//检查前预判
@property (nonatomic, strong) ICMTitleTextView *breakdownCheckReportView;//故障检查报告
@property (nonatomic, strong) ICMTitleTextView *remarksView;//备注

@property (nonatomic, weak) id <ICMProxyOrderInfoViewDelegate> delegate;//代理

+ (instancetype)createICMOrderInfoViewWithFrame:(CGRect)frame;

- (void)setupOrderInfoViewWithBasicInfoModel:(ICMProxyBasicInfoModel *)basicInfoModel;

- (void)resetRepairTypes:(NSMutableArray *)repiarTypes;

//界面值是否改变
@property (nonatomic, assign) BOOL hasViewValueChanged;

@end
